/*
 * @Author: wuzhen
 * @Date: 2019-01-25 16:53:55
 * @LastEditors  : wuzhen
 * @LastEditTime : 2020-01-15 11:20:01
 * @Description: 自定义指令
 */
import * as vClickOutside from "v-click-outside-x";
// 剪切板
import VueClipboard from "vue-clipboard2";
const directives = {
};

export default {
  install(Vue) {
    VueClipboard.config.autoSetContainer = true; // add this line
    Vue.use(VueClipboard);
    Vue.use(vClickOutside);
    for (const key in directives) {
      Vue.directive(key, directives[key]);
    }
  }
};
